projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c517f5a
)
x86: bzimage_headroom does not return -ve error codes.
author
Keir Fraser
<keir.fraser@citrix.com>
Thu, 29 Jan 2009 01:16:30 +0000
(
01:16
+0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Thu, 29 Jan 2009 01:16:30 +0000
(
01:16
+0000)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/bzimage.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/bzimage.c
b/xen/arch/x86/bzimage.c
index e1b45a756157b19a72b05b0d1c473e8e7991b028..f432c9e1151ee9154517a29951c469de7d01f68b 100644
(file)
--- a/
xen/arch/x86/bzimage.c
+++ b/
xen/arch/x86/bzimage.c
@@
-185,7
+185,7
@@
static __init int bzimage_check(struct setup_header *hdr, unsigned long len)
if ( hdr->version < VERSION(2,8) ) {
printk("Cannot load bzImage v%d.%02d at least v2.08 is required\n",
hdr->version >> 8, hdr->version & 0xff);
- return
-EINVAL
;
+ return
0
;
}
return 1;
}